// DownProcess.h: interface for the CDownProcess class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_DOWNPROCESS_H__12FD8201_740D_4C2D_AE92_6570FB062976__INCLUDED_)
#define AFX_DOWNPROCESS_H__12FD8201_740D_4C2D_AE92_6570FB062976__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "TVThread.h"
#include "HttpDownload.h"
#include "../../public/TVPtrList.h"

class CDownProcess : 
	public CTVThread,
	public CHttpDownload
{
public:
	CDownProcess(UINT nSiteID, HTTPDOWNLOAD& httpdown);
	virtual ~CDownProcess();

	BOOL Start();
	void Stop();

protected:
	bool m_bWantStop;
	void ThreadProcMain(void);

public:
	UINT m_nSiteID;
};

#endif // !defined(AFX_DOWNPROCESS_H__12FD8201_740D_4C2D_AE92_6570FB062976__INCLUDED_)
